package cn.itrip;

import com.google.gson.GsonBuilder;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(exclude = {GsonAutoConfiguration.class}) //解决gson错误
@MapperScan(value = "cn.itrip.dao")
public class ItripAuthApplication {

    public static void main(String[] args) {
        GsonBuilder builder = new GsonBuilder();
//        builder.set
        SpringApplication.run(ItripAuthApplication.class, args);
    }

}
